import request from './request.js'

// 车品订单管理
const carGoodsOrder = {
  // 车品订单列表 - 订单管理
  GetOrderCarSuppliesList(data) {
    return request.post('/business/OrderCarSupplies/GetOrderCarSuppliesList', data)
  },

  // 车品订单详情 - 订单管理
  OrderCarSuppliesDetails(id) {
    return request.post('/business/OrderCarSupplies/OrderCarSuppliesDetails', { oid: id })
  },

  // 车品操作修改订单，录入物流信息 - 订单管理
  OrderCarSuppliesOperate(data) {
    return request.post('/business/OrderCarSupplies/OrderCarSuppliesOperate', data)
  },

  // 提交车品订单
  OrderCarSuppliesCreate(data) {
    return request.post('/business/OrderCarSupplies/OrderCarSuppliesCreate', data)
  },

  // 查询提交订单页面数据 ，立即购买入口
  OrderCarSuppliesAffirm(data) {
    return request.post('/business/OrderCarSupplies/OrderCarSuppliesAffirm', data)
  },

  // 查询提交订单页面数据 ，购物车入口
  OrderCarSuppliesAffirmBuyCar(data) {
    return request.post('/business/OrderCarSupplies/OrderCarSuppliesAffirmBuyCar', data)
  },

}

export default carGoodsOrder